package com.njym.java.security.admin.entity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-12-20 10:16:02
 */
@Table(name = "travel_distance")
public class TravelDistance implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //行程表，主键
    @Id
	@GeneratedValue(generator = "JDBC")
    private Integer id;
	
	    //行程主题
    @Column(name = "travel_name")
    private String travelName;
	
	    //时间
    @Column(name = "time_point")
    private Date timePoint;
	
	    //地点
    @Column(name = "place")
    private String place;
	
	    //行程简介
    @Column(name = "brief")
    private String brief;
	
	    //
    @Column(name = "attr1")
    private String attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;
	

	/**
	 * 设置：行程表，主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：行程表，主键
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：行程主题
	 */
	public void setTravelName(String travelName) {
		this.travelName = travelName;
	}
	/**
	 * 获取：行程主题
	 */
	public String getTravelName() {
		return travelName;
	}
	/**
	 * 设置：时间
	 */
	public void setTimePoint(Date timePoint) {
		this.timePoint = timePoint;
	}
	/**
	 * 获取：时间
	 */
	public Date getTimePoint() {
		return timePoint;
	}
	/**
	 * 设置：地点
	 */
	public void setPlace(String place) {
		this.place = place;
	}
	/**
	 * 获取：地点
	 */
	public String getPlace() {
		return place;
	}
	/**
	 * 设置：行程简介
	 */
	public void setBrief(String brief) {
		this.brief = brief;
	}
	/**
	 * 获取：行程简介
	 */
	public String getBrief() {
		return brief;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public String getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}
}
